package com.yida.gwj.basis.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yida.common.core.annotation.Excel;
import com.yida.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 业主信息认证对象 gwj_owner_attest
 *
 * @author lqq
 * @date 2023-08-26
 */
@ApiModel("业主信息认证对象")
public class GwjOwnerAttest extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @Excel(name = "主键ID")
    @ApiModelProperty("主键ID")
    private Long ownerAttestId;

    @Excel(name = "小区ID")
    @ApiModelProperty("小区ID")
    private Long communityId;

    @Excel(name = "小区名称")
    @ApiModelProperty("小区名称")
    private String communityName;

    @Excel(name = "楼栋ID")
    @ApiModelProperty("楼栋ID")
    private Long buildId;

    @Excel(name = "楼栋标识码")
    @ApiModelProperty("楼栋标识码")
    private String buildCode;

    @Excel(name = "楼栋名称")
    @ApiModelProperty("楼栋名称")
    private String buildName;

    @Excel(name = "房屋ID")
    @ApiModelProperty("房屋ID")
    private Long houseId;

    @Excel(name = "房屋标识码")
    @ApiModelProperty("房屋标识码")
    private String houseCode;

    @Excel(name = "房号")
    @ApiModelProperty("房号")
    private String roomNum;

    @Excel(name = "业主名称")
    @ApiModelProperty("业主名称")
    private String ownerName;

    @Excel(name = "手机号码")
    @ApiModelProperty("手机号码")
    private String ownerPhone;

    @Excel(name = "证件号码")
    @ApiModelProperty("证件号码")
    private String cardNum;

    @Excel(name = "产权地址（坐落）")
    @ApiModelProperty("产权地址（坐落）")
    private String certificateAddress;

    @Excel(name = "产权号(证书编号)")
    @ApiModelProperty("产权号(证书编号)")
    private String certificateNum;

    @Excel(name = "房产证图片地址")
    @ApiModelProperty("房产证图片地址")
    private String certificateImgUrl;

    @Excel(name = "审核状态，1未审核，2审核不通过，3审核通过")
    @ApiModelProperty("审核状态，1未审核，2审核不通过，3审核通过")
    private String status;

    @Excel(name = "审核人员ID")
    @ApiModelProperty("审核人员ID")
    private Long approveUserId;

    @Excel(name = "审核人员姓名")
    @ApiModelProperty("审核人员姓名")
    private String approveUserName;

    @Excel(name = "审核意见")
    @ApiModelProperty("审核意见")
    private String approveContent;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "申核时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("申核时间")
    private Date approveTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("申请时间")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date applicantTime;

    @Excel(name = "旧业主房屋信息")
    @ApiModelProperty("旧业主房屋信息")
    private String oldOwnerInfo;

    @Excel(name = "地区ID")
    @ApiModelProperty("地区ID")
    private Long areaId;

    @Excel(name = "街道ID")
    @ApiModelProperty("街道ID")
    private Long streetId;

    public Long getBuildId() {
        return buildId;
    }

    public void setBuildId(Long buildId) {
        this.buildId = buildId;
    }

    public Long getHouseId() {
        return houseId;
    }

    public void setHouseId(Long houseId) {
        this.houseId = houseId;
    }

    public void setOwnerAttestId(Long ownerAttestId) {
        this.ownerAttestId = ownerAttestId;
    }
    public Long getOwnerAttestId() {
        return ownerAttestId;
    }

    public void setCommunityId(Long communityId) {
        this.communityId = communityId;
    }

    public Long getCommunityId() {
        return communityId;
    }

    public void setCommunityName(String communityName) {
        this.communityName = communityName;
    }

    public String getCommunityName() {
        return communityName;
    }

    public void setBuildCode(String buildCode) {
        this.buildCode = buildCode;
    }

    public String getBuildCode() {
        return buildCode;
    }

    public void setBuildName(String buildName) {
        this.buildName = buildName;
    }

    public String getBuildName() {
        return buildName;
    }

    public void setHouseCode(String houseCode) {
        this.houseCode = houseCode;
    }

    public String getHouseCode() {
        return houseCode;
    }

    public void setRoomNum(String roomNum) {
        this.roomNum = roomNum;
    }

    public String getRoomNum() {
        return roomNum;
    }

    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }

    public String getOwnerName() {
        return ownerName;
    }

    public void setOwnerPhone(String ownerPhone) {
        this.ownerPhone = ownerPhone;
    }

    public String getOwnerPhone() {
        return ownerPhone;
    }

    public void setCardNum(String cardNum) {
        this.cardNum = cardNum;
    }

    public String getCardNum() {
        return cardNum;
    }

    public void setCertificateAddress(String certificateAddress) {
        this.certificateAddress = certificateAddress;
    }

    public String getCertificateAddress() {
        return certificateAddress;
    }

    public void setCertificateNum(String certificateNum) {
        this.certificateNum = certificateNum;
    }

    public String getCertificateNum() {
        return certificateNum;
    }

    public void setCertificateImgUrl(String certificateImgUrl) {
        this.certificateImgUrl = certificateImgUrl;
    }

    public String getCertificateImgUrl() {
        return certificateImgUrl;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setApproveUserId(Long approveUserId) {
        this.approveUserId = approveUserId;
    }

    public Long getApproveUserId() {
        return approveUserId;
    }

    public void setApproveUserName(String approveUserName) {
        this.approveUserName = approveUserName;
    }

    public String getApproveUserName() {
        return approveUserName;
    }

    public void setApproveContent(String approveContent) {
        this.approveContent = approveContent;
    }

    public String getApproveContent() {
        return approveContent;
    }

    public void setApproveTime(Date approveTime) {
        this.approveTime = approveTime;
    }

    public Date getApproveTime() {
        return approveTime;
    }

    public void setApplicantTime(Date applicantTime) {
        this.applicantTime = applicantTime;
    }

    public Date getApplicantTime() {
        return applicantTime;
    }

    public void setOldOwnerInfo(String oldOwnerInfo) {
        this.oldOwnerInfo = oldOwnerInfo;
    }

    public String getOldOwnerInfo() {
        return oldOwnerInfo;
    }

    public void setAreaId(Long areaId) {
        this.areaId = areaId;
    }

    public Long getAreaId() {
        return areaId;
    }

    public void setStreetId(Long streetId) {
        this.streetId = streetId;
    }

    public Long getStreetId() {
        return streetId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("ownerAttestId", getOwnerAttestId())
                .append("communityId", getCommunityId())
                .append("communityName", getCommunityName())
                .append("buildCode", getBuildCode())
                .append("buildName", getBuildName())
                .append("houseCode", getHouseCode())
                .append("roomNum", getRoomNum())
                .append("ownerName", getOwnerName())
                .append("ownerPhone", getOwnerPhone())
                .append("cardNum", getCardNum())
                .append("certificateAddress", getCertificateAddress())
                .append("certificateNum", getCertificateNum())
                .append("certificateImgUrl", getCertificateImgUrl())
                .append("status", getStatus())
                .append("approveUserId", getApproveUserId())
                .append("approveUserName", getApproveUserName())
                .append("approveContent", getApproveContent())
                .append("approveTime", getApproveTime())
                .append("applicantTime", getApplicantTime())
                .append("oldOwnerInfo", getOldOwnerInfo())
                .append("areaId", getAreaId())
                .append("streetId", getStreetId())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
